<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\service\cdc\sync;

use app\model\mongo\MongoSyncModel;

interface LogInterface
{
    /**
     * 删除当前日志.
     * @param MongoSyncModel $model 当前日志模型
     */
    public static function deleteLogByModel(MongoSyncModel $model): bool;

    /**
     * 删除指定账户素材日志.
     * @param MongoSyncModel $model 中间表模型
     */
    public static function deleteLogByMaterialId(MongoSyncModel $model): bool;

    /**
     * 新增日志.
     */
    // public static function insertLog(MongoReportModel $model): bool;

    /**
     * 获取中间表模型.
     * @return mixed
     */
    public static function getModel();
}
